package com.fingard.dsp.web.page.s;

import com.fingard.FGBiz;
import com.fingard.dsp.web.page.PageBase;

public class StopServer extends PageBase{

	@Override
	public void pageLoad() throws Exception{
		String opr = httpContext.request.getQryStrValue("s");
		if("direct".equals(opr)){
			httpContext.response.respMsg = FGBiz.stopDirectServer();
		}else if("web".equals(opr)){
			httpContext.response.respMsg = FGBiz.stopWebServer();
		}else{
			httpContext.response.respMsg = "未知的操作："+opr;
		}
	}
}
